package com.vitas.coin.task;

public interface IEngine {

    /**
     * Submits the task
     *
     * @param task
     */
    ITask submit(ITask task);

    /**
     * Try to cancel all submitted task and shutdown the task engine.
     */
    void shutdown();
}
